package com.example.service;

import com.example.mapper.UserMapper;
import com.example.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by wsk1103 on 2017/5/6.
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public User findOne(int id) {
        return userMapper.findOne(id);
    }

    @Override
    public boolean insertUser(String name, String password) {
        return false;
    }
}
